<?php

class Admin_Form_Tc extends Zend_Form {

    public function init() {
        $this->setMethod("post");

        $data = new Zend_Form_Element_Textarea('data');
        $data->setLabel("Details of T & C:")
                ->setRequired()
                ->setAttribs(array('class' => 'span12'))
                ->addFilter("StringTrim");

        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel("Update T&C")
                ->setAttribs(array('class' => 'btn btn-success'));

        $this->addElements(array($data, $submit));
    }

}

